#include <iostream>
#include <ostream>
#include<vector>
using namespace std;

int main() {
    string str;
    cin>>str;
    vector<bool> is_des_arr(26,false);
    is_des_arr['a' - 'a'] = true;
    is_des_arr['e' - 'a'] = true;
    is_des_arr['i' - 'a'] = true;
    is_des_arr['o' - 'a'] = true;
    is_des_arr['u' - 'a'] = true;
    if(str.size()<5)
    {
        cout<<0<<endl;
        return 0;
    }
    int n = str.size();
    int ret = 0;
    for(int i = 0;i<=n-5;i++)
    {
        if(!is_des_arr[str[i]-'a']&&is_des_arr[str[i+1]-'a']&&is_des_arr[str[i+2]-'a']&&!is_des_arr[str[i+3]-'a']&&is_des_arr[str[i+4]-'a'])
        {
            int hash[26] = {0};
            bool flag = true;
            for(int j = 0;j<5;j++)
            {
                char c = str[i+j];
                if(hash[c-'a']++>0)
                {
                    flag = false;
                    break;
                }
            }
            if(flag)
            {
                ret++;
            }
        }
    }
    cout<<ret<<endl;
    return 0;
}
// 64 位输出请用 printf("%lld")